﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Kay.LazarToDo.Win.Bases;

namespace Kay.LazarToDo.Win.Models
{
    /// <summary>
    /// 项目记录表
    /// </summary>
    public class TjlProject : FullEntity<Guid>
    {
        /// <summary>
        /// 名称
        /// </summary>
        [MaxLength(20)]
        [Column(TypeName = "nvarchar")]
        public string Name { get; set; }

        /// <summary>
        /// 显示
        /// </summary>
        public bool Shown { get; set; }

        /// <summary>
        /// 待办事项集合
        /// </summary>
        public ICollection<TjlLazarToDo> LazarToDoCollection { get; set; }
    }
}
